package velox.jcr.mapper.spring;

import java.util.Collection;

public interface MapperOperations {

	public abstract void save();

	public abstract Object execute(MapperCallback callback);

	public void remove(Object o);

	public abstract <T> T getObjectByUUID(String id, Class<T> type);

	public abstract void insert(String path, Object o);

	public abstract void update(Object o);

	public abstract <T> T getObject(String path, Class<T> type);

	public abstract <T> Collection<T> getChildObjects(String path, Class<T> type);

}